/**
 * Created by fandongyang on 2017/7/26.
 */
import React, {Component} from 'react';
import {Dimensions, View, Text, StyleSheet} from 'react-native' ;
const {width, height} = Dimensions.get('window');
class Index extends Component {
    // 默认属性
    static defaultProps = {};

    // 属性类型
    static propTypes = {};

    // 构造
    constructor(props) {
        super(props);
        // 初始状态
        this.state = {};
    }

    // 渲染
    render() {
        return (
            <View style={styles.defaultView}>
                <Text>
                    center
                </Text>
            </View>
        )
    }
}

let styles = StyleSheet.create({
    defaultView: {
        flex: 1
    }
})

export default Index;
